package com.feng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feng.entity.RestResponse;
import com.feng.entity.Tag;
import com.feng.entity.vo.TagAddVo;
import com.feng.entity.vo.TagPageReqVo;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;

/**
 * (Tag)表服务接口
 *
 * @author feng
 * @since 2024-10-18 13:57:29
 */
public interface TagService extends IService<Tag> {

    RestResponse listAllTag();

    RestResponse listAllPageTag(TagPageReqVo tagPage);

    RestResponse addTag(TagAddVo tagAdd);

    RestResponse getTagById(Long id);

    RestResponse updateTag(TagAddVo tagAdd);

    RestResponse deleteTag(Long id);

    RestResponse delBatchTag(List<Long> ids);

    void export(HttpServletResponse response);
}

